package com.community.process._1010.dao.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.community.process._1010.dao.entity.ProcessFoodItemIngredients;
import com.community.process._1010.dao.vo.ProcessFoodItemIngredientsVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 到餐加工成品菜食材列表 Mapper 接口
 *
 * @author Zbs
 * @since 2024-09-05
 */
@Repository
public interface ProcessFoodItemIngredientsMapper extends BaseMapper<ProcessFoodItemIngredients> {

    /**
     * 分页查询
     * @param page page
     * @param wrapper wrapper
     * @return Page<ProcessFoodItemIngredientsVo>
     */
    Page<ProcessFoodItemIngredientsVo> getProcessFoodItemIngredientsVoPageList(Page<ProcessFoodItemIngredientsVo> page,@Param(Constants.WRAPPER) Wrapper<ProcessFoodItemIngredientsVo> wrapper);

    /**
     * 查询列表
     * @param wrapper wrapper
     * @return List<ProcessFoodItemIngredientsVo>
     */
    List<ProcessFoodItemIngredientsVo> getProcessFoodItemIngredientsVoList(@Param(Constants.WRAPPER) Wrapper<ProcessFoodItemIngredientsVo> wrapper);
}
